<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="thx" uri="/thx-tags"%>

<form id="app-copy-form" name="ui-adminlte-form"
	data-toggle="validator" role="form" method="post"
	action="${pageContext.request.contextPath}/workflow/appConfig!copyApp.action"
	forward-action="${pageContext.request.contextPath}/workflow/appConfig!list.action">
	
	<input name="applicationId" value="${applicationId}" type="hidden" />
	
	<div class="form-group">
		<label>应用名称</label> 
		<input type="text" name="entity.appName" value="${entity.appName}" 
			remote="${pageContext.request.contextPath}/workflow/appConfig!checkAppName.action?id=${entity.appId }"
			class="form-control required" placeholder="应用名称"/>
	</div>
	<div class="form-group">
		<label>分类名称</label> 
		<input type="text" 	name="entity.appDescribe" value="${entity.appDescribe}" 
			class="form-control required" placeholder="应用描述"/>
	</div>
</form>

<script>
	$(function() {
		form.init();
	});
</script>